package cn.iocoder.yudao.module.jifenyuan.service.notify;

import cn.iocoder.yudao.module.jifenyuan.enums.JifenyuanRoomEventTypeEnum;
import cn.iocoder.yudao.module.jifenyuan.enums.JifenyuanWalletLogChangeTypeEnum;
import org.springframework.scheduling.annotation.Async;

import java.util.List;

public interface NotifyService {
    void notifyPartner(List<Long> userIds, Long fromUserId, Long toUserId, Long score, JifenyuanRoomEventTypeEnum type);
    void notifyObserver(List<String> cids, Long fromUserId, Long toUserId, Long score, JifenyuanRoomEventTypeEnum type);
    void notifyWebObserver(List<String> cids, Long fromUserId, Long toUserId, Long score, JifenyuanRoomEventTypeEnum type);


    void notifyCoinChange(List<String> cids, Long score, JifenyuanRoomEventTypeEnum type, JifenyuanWalletLogChangeTypeEnum coinChangeType);


    void notify(List<Long> userIds, String payload);
    void notifyWebCids(List<String> cids, String payload);
    void notifyCids(List<String> cids, String payload);
}
